import cv2

img = cv2.imread("img/example.png", 0)

result = cv2.Canny(img, 100, 200)
cv2.imshow("result", result)
cv2.waitKey(0)
